Telegram Group & Telegram Channel
Вопрос с собеседования

Какова структура у JWT-токена?

Ответ: JWT (JSON Web Token) состоит из трёх частей, разделённых точками:

▶️ Заголовок (Header) — содержит тип токена (JWT) и алгоритм подписи, например HMAC SHA256 или RSA

▶️ Полезная нагрузка (Payload) — включает так называемые “утверждения” (claims): данные вроде ID пользователя, срока действия токена, ролей и другой метаинформации

▶️ Подпись (Signature) — создаётся из заголовка и payload с использованием секретного ключа. Она гарантирует, что содержимое токена не было подделано.

Эти части кодируются в base64 и объединяются через точки: header.payload.signature.


tags: #собеседование

📱 Java Developer | Чат
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/java_tg/3041
Create:
Last Update:

Вопрос с собеседования

Какова структура у JWT-токена?

Ответ: JWT (JSON Web Token) состоит из трёх частей, разделённых точками:

▶️ Заголовок (Header) — содержит тип токена (JWT) и алгоритм подписи, например HMAC SHA256 или RSA

▶️ Полезная нагрузка (Payload) — включает так называемые “утверждения” (claims): данные вроде ID пользователя, срока действия токена, ролей и другой метаинформации

▶️ Подпись (Signature) — создаётся из заголовка и payload с использованием секретного ключа. Она гарантирует, что содержимое токена не было подделано.

Эти части кодируются в base64 и объединяются через точки: header.payload.signature.


tags: #собеседование

📱 Java Developer | Чат

BY Java Developer


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_tg/3041

View MORE
Open in Telegram


Java Developer Telegram | DID YOU KNOW?

Date: |

Launched in 2013, Telegram allows users to broadcast messages to a following via “channels”, or create public and private groups that are simple for others to access. Users can also send and receive large data files, including text and zip files, directly via the app.The platform said it has more than 500m active users, and topped 1bn downloads in August, according to data from SensorTower.

How to Use Bitcoin?

n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”

Java Developer from cn


Telegram Java Developer
FROM USA